/*
 * The MIT License
 *
 * Copyright (c) 2019, Robin Schulz
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */


/*
#####################################################################
###                        diff classes                           ###
#####################################################################
*/

.no-lines-changed {
  padding: .5rem!important;
  font-weight: 600;
}

/*
#####################################################################
###                        line nums                              ###
#####################################################################
*/
/*General*/

table.diffLineTable th.lineNum {
    width: 40px;
    min-width:1%;
    min-height:1%;
    max-width:100%;
    height:1%;

    white-space: nowrap;

    font-size:13px;
    font-weight: normal;
    text-align:center;

    color: var(--text-color-secondary);

    font-family: "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace;
}

table.diffLineTable th.lineNum.diff_original {
    background-color: var(--red);
    color: var(--white);
}

table.diffLineTable th.lineNum.diff_revised {
    background-color: var(--green);
    color: var(--white);
}

table.diffLineTable td {
  background: var(--background) !important;
}


/*
#####################################################################
###                      description:                             ###
###                   info about the diff                         ###
#####################################################################
*/
/*sort of a "second subcaption"*/

.describedElement:hover {
    color: var(--text-color);
}

.describedElement {
  color: var(--text-color-secondary);
}


/*
#####################################################################
###                        syntax hl                              ###
#####################################################################
*/

pre {
    margin: 0;
    white-space: pre-wrap;
}

code.hljs {
    background-color: inherit;
    padding:0;
}


/*
#####################################################################
###                        diffLineTable                          ###
#####################################################################
*/

table.diffLineTable {
    width:100%;
    height:100%;
}

table.diffLineTable td {
  padding-left: 0.25rem;
}

/*
#####################################################################
###                       diffLineWrapper                         ###
#####################################################################
*/

table.jenkins-table td.diffLineWrapper {
    width:100%;
    padding:0!important;
}
